//
//  TallyListView.h
//  Exam13-2b
//
//  Created by 孙晓晔 on 2017/4/29.
//  Copyright © 2017年 孙晓晔. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TallyViewCell.h"

@protocol TallyListViewDelegate <NSObject>
//选择对应cell 传递 image title cell的实际位置
- (void)didSelectItem:(TallyViewCell*)cell index:(NSInteger)index withRectInCollection:(CGRect)itemRect;

//滚动到底
- (void)listScrollToBottom;
@end

@interface TallyListView : UICollectionView
@property(nonatomic,strong)id<TallyListViewDelegate> tallyDelegate;
@end
